s=[9.6,9.3,9.4,9.9,9.5,9.8,9.7,9.1,9.2,9.4]
max=s[0]
min=s[0]
sum=0
for i in s:
    sum=sum+i
    if(i>max):
        max=i
    if(i<min):
        min=i
res=(sum-max-min)/8
print(res)